import java.awt.image.BufferedImage;


// Project: 

/******************************************************************************
 * <p>
 * File: enemy.java
 * </p>
 * @author  Tadhg O'Sullivan, rogue
 * @author <a href="mailto:tadhg.osullivan@ucdconnect.ie">tadhg.osullivan@ucdconnect.ie</a>
 * @version 1.0, 2007
 * @created 4-Mar-07 11:56:52 AM
 * @revised 
 * Copyright 2007 Tadhg O'Sullivan
 * <p>
 * Description: An Enemy object, a type of sprite
 * </p>
 *  
 *  This file is part of Retribution.
 *
 *  Retribution is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  Retribution is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with Retribution; if not, write to the Free Software
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 *   
 *****************************************************************************/
public class enemy extends sprite{
	public boolean up,down,left,right;
	public String enemyType;
	
	/**
	 * 
	 * @param i The BufferedImage for the tile
	 * @param n The number used to reference the tile
	 * @param x The x coordinate of the tile
	 * @param y The y coordinate of the tile
	 * @param h The health of the sprite
	 * @param a The attack strength of the sprite
	 * @param b The boolean for whether the sprite is alive
	 * @param type The String defining what type of enemy it is
	 */
	public enemy(BufferedImage i, int n, int x, int y, int h, int a, boolean b, String type) {
		super(i, n, x, y, h, a, b);
		this.enemyType = type;
		// TODO Auto-generated constructor stub
	}
	
	/**
	 * A Method to set whether an enemy has moved
	 *
	 */
	public void setMoved(){
		up = false;
		down = false;
		left = false;
		right = false;
	}

	/**
	 * TODO add getter and setter methods
	 */
	
	/**
	 * @return enemyType A String defining what type of enemy it is
	 */
	public String getType(){
		return enemyType;
	}
	
	/**
	 * 
	 * @param type A String used to define the type of enemy
	 */
	public void setType(String type){
		this.enemyType = type;
	}
}